﻿using System;

namespace Sustainalytics.Entities
{
    public class ReportFTP : IEntity
    {
        public Guid Id { get; set; }     
      
        public Guid AccountId { get; set; }

        public string ServerAddress { get; set; }

        public int ServerPort { get; set; }

        public string Username { get; set; }

        public string Password { get; set; }
        
        public int FtpServerType { get; set; }

        /// <summary>
        /// Directory path on the ftp server where the reports are stored, relative to root ftp folder.
        /// </summary>
        public string DirectoryPath { get; set; }

        //AES Key and IV(Initialization Vector) are necessary to be stored, since the identical ones used to encrypt password will be used for decrypting it
        public string AESKeyEncoded { get; set; }

        public string AESInitVectorEncoded { get; set; }

    }
}
